/*
* ECARX Technology Limited is the owner of the copyright and the trade secret of this software.
* Without permission, no one has the right to obtain, disclose or use this software in any way.
*/

package com.ecarx.notificationx;

import android.util.Log;

public class Lg {

    private static final String TAG = "LauncherController";

    private static final boolean DEBUG = true;

    public static void e(String tag, String msg, Throwable throwable) {
        Log.e(DEBUG ? tag : TAG, msg, throwable);
    }

    public static void e(String tag, String msg) {
        Log.e(DEBUG ? tag : TAG, msg);
    }

    public static void w(String tag, String msg) {
        Log.w(DEBUG ? tag : TAG, msg);
    }

    public static void w(String tag, String msg, Throwable throwable) {
        Log.w(DEBUG ? tag : TAG, msg, throwable);
    }

    public static void d(String tag, String msg) {
        if (DEBUG) {
            Log.d(tag, msg);
        }
    }

}
